package api.google.android;

import java.util.ArrayList;
import java.util.List;

import org.json.JSONArray;
import org.json.JSONException;

public class ParseJSON {
	
	public ParseJSON() {
		
	}
	
	public List<String> JsonArrayToList(String jsonString) {
		List<String> result = new ArrayList<String>();
		try {
			JSONArray jArray = new JSONArray(jsonString);
			for(int i=0;i<jArray.length();i++){
				result.add(jArray.get(i).toString());
			}		
			
		} catch (JSONException e) {
			e.printStackTrace();
		}

		return result;
	}

}
